package com.song.oscsong.api;

import com.loopj.android.http.AsyncHttpResponseHandler;
import com.loopj.android.http.RequestParams;

public class OSCChinaApi {

	
	public static void getNewsList(int catalog ,int page , AsyncHttpResponseHandler handler)
	{
		RequestParams params = new RequestParams();
        params.put("catalog", catalog);
        params.put("pageIndex", page);
        params.put("pageSize", 10);
        params.put("show", "week");
       
        ApiHttpClient.get("action/api/news_list", params, handler);
	}
	
	
    public static void getTweetList(int uid, int page,
            AsyncHttpResponseHandler handler) {
        RequestParams params = new RequestParams();
        params.put("uid", uid);
        params.put("pageIndex", page);
        params.put("pageSize", 10);
        ApiHttpClient.get("action/api/tweet_list", params, handler);
    }
	
}
